export default {
  /*新增
  *
readme
title	标题
body	内容
tag	标签
category	分类
speaker	主讲人
coverPic	封面图片
summary	摘要
*/
  'POST /apiend/admin/activity/add': (req, res) => {
    res.status(200).send({
        "code": "SUCCESS",
        "msg": null,
        "data": {
          "createTime": "2018-22-02 21:22:16",
          "updateTime": "2018-22-02 21:22:16",
          "createBy": null,
          "updateBy": null,
          "activityId": 4,
          "title": "标题44",
          "body": "内容44",
          "coverPic": "/showImage/8608370009@baby",
          "summary": null,
          "speaker": "主讲人",
          "activityTime": null,
          "categorys": null,
          "tags": ["标签3", "标签2"],
          "favorCount": null,
          "clickCount": null,
          "commentCount": null,
          "state": null,
          "delete": false
        }
      }
    );
  },
  /*查询*/
  'GET /apiend/admin/activity/find/([0-9]*)': (req, res) => {
    res.status(200).send({
      "code": "SUCCESS",
      "msg": null,
      "data": {
        "createTime": "2018-28-02 21:28:12",
        "updateTime": "2018-28-02 21:28:12",
        "createBy": null,
        "updateBy": null,
        "activityId": 5,
        "title": "标题44",
        "body": "内容44",
        "coverPic": "/showImage/8608370009@baby",
        "summary": null,
        "speaker": "主讲人",
        "activityTime": null,
        "categorys": ["星空课堂"],
        "tags": ["标签3", "标签2"],
        "favorCount": null,
        "clickCount": null,
        "commentCount": null,
        "state": null,
        "delete": false
      }
    })
  },
  /*删除*/
  'GET /apiend/admin/activity/delete/([0-9]*)': (req, res) => {
    res.status(200).send({
      "code": "SUCCESS",
      "msg": null,
      "data": {
        "createTime": "2018-21-02 21:21:47",
        "updateTime": "2018-33-02 21:33:29",
        "createBy": null,
        "updateBy": null,
        "activityId": 2,
        "title": "标题44",
        "body": "内容44",
        "coverPic": "/showImage/8608370009@baby",
        "summary": null,
        "speaker": "主讲人",
        "activityTime": null,
        "categorys": null,
        "tags": ["标签3", "标签2"],
        "favorCount": null,
        "clickCount": null,
        "commentCount": null,
        "state": null,
        "delete": true
      }
    })
  },

  /*
* readme
start	    默认0，从第一条开始找
size	    默认10
tag	      标签搜索
category	类别搜索
title	    标题搜索
*
* */

  "POST /apiend/admin/activity/list": (req, res) => {
    res.status(200).send({
        "code": "SUCCESS",
        "msg": null,
        "data": [{
          "createTime": "2018-28-02 21:28:12",
          "updateTime": "2018-28-02 21:28:12",
          "createBy": null,
          "updateBy": null,
          "activityId": 5,
          "title": "标题44",
          "body": "内容44",
          "coverPic": "/showImage/8608370009@baby",
          "summary": null,
          "speaker": "主讲人",
          "activityTime": null,
          "categorys": ["星空课堂"],
          "tags": ["标签3", "标签2"],
          "favorCount": null,
          "clickCount": null,
          "commentCount": null,
          "state": null,
          "delete": false
        }]
      }
    )
  }
}
